package com.qf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
//服务之间调用降级
@EnableHystrix
//开启定时任务
@EnableScheduling
public class MvShareApplication {
    public static void main(String[] args) {
        SpringApplication.run(MvShareApplication.class);
    }
}
